home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fatted Calf
/
The Fatted Calf.iso
/
Applications
/
GraphicViewers
/
pCD
/
Source
/
hpcdtoppm.0.4
/
Makefile
< prev
next >
Wrap
Makefile
|
1993-03-27
|
508b
|
27 lines
#
#
# Use the hpcdtoppm procedures for writing ppm and pgm
VFLAGS= -DOWN_WRITE
VLIBS=
# Use the pbmplus procedures for writing ppm and pgm
#VFLAGS=
#VLIBS= libpbm.a libpgm.a libppm.a
#
#
CC= cc
CFLAGS= -g -ansi -Wall ${VFLAGS}
INCL= hpcdtoppm.h config.h
OBJ= main.o output.o color.o format.o tools.o error.o \
ppm.o postscr.o const.o
COMPILE=${CC} ${CFLAGS} -c
#
hpcdtoppm: ${OBJ}
${CC} -o hpcdtoppm ${OBJ} ${VLIBS}
#
${OBJ}: ${$@:.o=.c} ${INCL}
${COMPILE} ${*}.c
#
clean:
rm -f *~ *.o
-strip hpcdtoppm